<?php
switch ($_SERVER['HTTP_HOST']) {
	case 'h4mnsoft.orgfree.com':
		$db = '314749';
		$us = '314749';
		$pw = 'hamnfwha1';		
	break;
	default:
		$db = 'peoplesbo';
		$us = 'root';
		$pw = '';	
	break;
}
mysql_connect('localhost',$us,$pw) or die(mysql_error());
mysql_select_db($db)or die(mysql_error());
?>